<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib uri="/struts-tags" prefix="s"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
		<base href="<%=basePath%>">

		<title>短消息查询</title>

		<meta http-equiv="pragma" content="no-cache">
		<meta http-equiv="cache-control" content="no-cache">
		<meta http-equiv="expires" content="0">
		<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
		<meta http-equiv="description" content="This is my page">
		<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
 
		<link rel="stylesheet" type="text/css"
			href="<%=basePath%>styles/friends_style.css" />
        <STYLE type="text/css">
         .msg_td td{
           padding-top: 4px;
           line-height: 28px;
         }
        </STYLE>
      
	 
	</head>

	<body style="padding: 0px 0px 0px 0px; margin-top: 0px;">
		<div class="fd_sc">
			<div class="fd_sc_tip">
				<table width="100%" cellpadding="0" cellspacing="0" border="0">
					<tr>
						<td align="left" class="tb_left" valign="middle">
							消息明细
						</td>
						<td align="right" class="tb_right" valign="middle">
							&nbsp;
						</td>
					</tr>
				</table>
			</div>
			<div style="width: 100%">
			   <table  cellpadding="0" cellspacing="0" width="100%" class="msg_td" border="1" >
			     <tr><td style="padding-left: 20px" width="18%">标题 ：</td><td style="padding-left: 10px" align="left" width="82%"><s:property value="#session.message.title"/></td></tr>
			     <tr><td style="padding-left: 20px">发件人：</td><td style="padding-left: 10px" align="left"><s:property value="#session.message.userName"/></td></tr>
			     <tr><td style="padding-left: 20px">收件人</td><td style="padding-left: 10px" align="left"><s:property value="#session.message.reviceName"/></td></tr>
			      <tr><td style="padding-left: 20px">发送时间</td><td style="padding-left: 10px" align="left"><s:property value="#session.message.sendTime"/></td></tr>
			     <tr><td style="padding-left: 20px">内容</td><td>
			      <div style=" height: 200px;padding-left: 10px;width:100% ;text-align: left;">
			      ${sessionScope.message.content} </div></td></tr>
			    
			     <tr><td colspan="2" style="padding-left: 20px" align="center">
			        <form action="bbs/message/sendMsg.jsp" method="post">
			        <input type="hidden" value="<s:property value="#session.message.userId"/>" name="reviceId"/>
			         <input type="hidden" value="<s:property value="#session.message.userName"/>" name="reviceName"/>
			         <input type="button" value="返    回"   style="background-color: #fafbc2;color: #367115;padding-top: 4px;padding-bottom: 2px;"    onclick="javaScript:window.history.back(-1)"/>&nbsp;&nbsp;
			        <s:if test="#session.message.userId!=#session.userDto.id">
			      <input type="submit" value="立马回复"   style="background-color: #fafbc2;color: #367115;padding-top: 4px;padding-bottom: 2px;"/>
			        </s:if>
			      </form>
			     </td></tr>
			   </table>
			 
			</div>

		</div>
		 


	</body>
</html>
